@import './transition.scss';
@import '@/theme/index.scss';
.layout-container {
  background-color: var(--system-container-main-background);
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  margin: 15px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-radius: 5px;
  &-form {
    display: flex;
    justify-content: space-between;
    padding: 15px 15px 0;
    &-handle {
      display: flex;
      justify-content: flex-start;
      .export-excel-btn {
        margin-left: 15px;
      }
    }
    &-search {
      display: flex;
      justify-content: flex-end;
      .search-btn {
        margin-left: 15px;
      }
    }
    .el-form-item {
      margin-bottom: 0;
    }
  }
  &-table {
    flex: 1;
    height: 100%;
    padding: 15px;
    overflow: auto;
  }
}
.flex-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
}
.flex {
  display: flex;
}
.center {
  justify-content: center;
  align-items: center;
  text-align: center;
}
a {
  text-decoration: none;
}

/** element-plus **/
.el-icon {
  text-align: center;
}

/** 用于提示信息 **/
.my-tip {
  background-color: #f1f1f1;
  padding: 5px 10px;
  text-align: left;
  border-radius: 4px;
}
.system-scrollbar {
 
  &::-webkit-scrollbar {
    display: none;
    width: 6px;
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(144, 147, 153, 0.3);
  }
  &:hover {
    &::-webkit-scrollbar {
      display: block;
    }
    &::-webkit-scrollbar-thumb {
      border-radius: 10px;
      background: rgba(144, 147, 153, 0.3);
      &:hover {
        background: rgba(144, 147, 153, 0.5);
      }
    }
  }
}

// 弹出框样式
.el-dialog__header{
  text-align: left;
}
.el-dialog__body{
  text-align: left;
}

.layout-container-form .el-form-item{
  margin-bottom: 5px;
}

// 表格中的图文并行
.img-and-text{
  display: flex;
}

// 超出显示省略号
.text-ellipsis{
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 200px;
  margin-left: 10px;
}
.overflow-ellipsis{
  -webkit-line-clamp:3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  text-overflow: ellipsis;
  width: 100%;
  cursor:pointer;
}

.layout-container-form-search .search-btn{
  margin-left: 0;
}

.el-popper{
  max-width: 50%;
}

.el-overlay{
  display: flex;
  justify-content: center;
  align-items: center;
}
.el-dialog{
  margin: 0 !important;
}

// 修改按钮不可编辑状态下的样式
.el-button.is-disabled, .el-button.is-disabled:focus, .el-button.is-disabled:hover {
  color: var(--el-button-disabled-font-color);
  cursor: not-allowed;
  background-image: none;
  background-color: #f4f4f4;
  border-color: var(--el-button-disabled-border-color);
}

// 隐藏首页
.el-scrollbar__view{
  .tags-view-item:first-child{
    display: none;
  }
}

// 弹出header
.el-dialog__header {
  text-align: left;
  border-bottom: 1px solid #f4f4f4;
  padding-bottom: 15px;
}

// 时间控件icon
.el-range-editor--mini .el-range__icon {
  line-height: 20px;
  position: absolute;
  right: 0;
}

// 面包屑
.page-bread{
  padding: 20px;
  background: #ffffff;
  color: #9a9b9f;
  font-size: 18px;
  text-align:left;
}

// tip
:deep(.el-table .cell.el-tooltip) {
  max-width: 400px;
}

// 页面top搜索
.layout-container-form .el-form-item {
  margin-bottom: 15px;
  margin-right: 0;
  padding-left: 10px;
  width: 33.333333%;
  box-sizing: border-box;
}
.layout-container-table{
  padding-top: 8px;
}
.layout-container-opt{
  padding-left: 0 !important;
  padding-right: 0 !important;
}